/*
 * @Description:: 请补充填写
 * @Version: 请配置版本号
 * @Author: xiaobai
 * @Date: 2020-08-30 07:59:10
 * @LastEditors: xiaobaobeibai 604070135@qq.com
 * @LastEditTime: 2022-08-01 21:19:07
 * @FilePath: /vue-admin-template-master/src/utils/get-page-title.js
 */
import defaultSettings from '@/settings'

const title = defaultSettings.title

export default function getPageTitle(pageTitle) {
  if (pageTitle) {
    return `${pageTitle}`
  }
  return `${title}`
}
